﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace RndMaterialDisposalService.Models.Entitys
{
    /// <summary>
    /// 
    /// </summary>
    [Table("UserMiddleTable")]
    public class UserMiddleDto
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? EmployeeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? Mobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 1 待同步 2 已同步 3 同步失败
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        ///  1 新增 2 删除  3 更新
        /// </summary>
        public int? Action { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? LastUpdateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? ErrorMsg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? SyncTime { get; set; }
    }
}
